<?php

class Adept_Component_Text extends Adept_Component_Base 
{
    
    protected $text;
    
    public function __construct($text = '')
    {
        $this->setText($text);
    }
    
    public function getText() 
    {
        return $this->text;
    }
    
    public function setText($text) 
    {
        $this->text = $text;
    }
    
    public function render() 
    {
        $this->getContext()->getResponse()->write($this->text);
    }    
    
}
